package com.ize.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ConsultationVo {
    private Long id;
    /*用户表*/
    private String username;
    private String studentId;  // 对应student_id
    private String xueyuan;
    private String sex;
    private String address;
    private String phone;
    private Integer high;
    private Integer weight;
    private String red;
    private String schoolAddress;  // 对应school_address
    private String user_image;

    /*用户留言表*/
    private String doctorName;
    private Long userId;
    private String image;
    private String title;
    private String content;
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
